package com.example.zhangxin.zyfypt_124zx.service;


import com.example.zhangxin.zyfypt_124zx.bean.LoginBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


/**
 * Created by zhangxin on 2017/4/19.
 */
//登录访问的Retrofit接口
public interface LoginService {
    @GET("api.php/login")
    Call<LoginBean> getResult(
             @Query("username") String username,
             @Query("password") String password

    );
}
